<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_JS的运算符</title>
</head>
<body>
<script>

   console.log(6/2);
   console.log(3/2);

   let a = 1;
   let b = true;
   console.log(a==b);
   console.log(a===b);

   console.log(3>10);
   console.log('3'>10);
   console.log(3>'10');

   console.log('c'> 'a');
   console.log('c'.charCodeAt());
   console.log('a'.charCodeAt());
   console.log('cqq'.charCodeAt());
   console.log('caaa'.charCodeAt());

   let c = 0;
   console.log(c==0?'0':'非0');
   console.log(c=0?'0':'非0');
</script>
</body>
</html>